html,
body{
    margin:0;
    padding:0;
    width:100%;
    min-height:100%;
    overflow-x:hidden;
    font-family:Arial,sans-serif;
    color:white;
    background-color:black;
}

body{
    background:
    linear-gradient(
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.7)
    ),
    url("Image/back2-1.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
}

/* =========================
LOGO
========================= */

.logo {
    position: fixed;
    top: 30px;  
    left: 40px; 
    z-index: 1000;
    transition: top 0.4s ease;
}

.logo img {
    width: 80px; 
    height: auto;
}

/* =========================
NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    padding: 6px 10px; 
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: top 0.4s ease;
}

.menu {
    display: flex;
    gap: 10px;  
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    padding: 10px 18px;  
    border-radius: 40px;
    position: relative; 
    overflow: hidden;
    transition: all 0.3s ease;
    white-space:nowrap;
}

.menu a::before {
    content: '';
    position: absolute;
    inset:0;
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 40px; 
}

.menu a:hover::before {
    opacity: 0.7; 
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow:
    0 10px 40px rgba(0,0,0,0.6),
    inset 0 0 10px rgba(255,255,255,0.1);
}

.menu .active {
    background: #B0B0B0;
    color: black;
    transform: scale(1.17);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.appointment-section{
    min-height:70vh;
    padding:150px 20px 120px;
    display:flex;
    justify-content:center;
    align-items:center;
    box-sizing:border-box;
}

.appointment-box{
    width:900px;
    max-width:88%;
    padding:35px;
    border-radius:40px;
    background:rgba(255,255,255,0.16);
    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
    border:1px solid rgba(255,255,255,0.25);
    box-shadow:0 25px 70px rgba(0,0,0,0.45);
    box-sizing:border-box;
}

.appointment-box h1{
    font-size:30px;
    margin:0 0 45px;
    color:white;
}

.appointment-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:32px 55px;
}

.form-group{
    display:flex;
    flex-direction:column;
    position:relative;
}

.form-group label{
    font-size:17px;
    margin-bottom:10px;
}

.form-group input,
.form-group textarea{
    height:50px;
    border:none;
    border-radius:9px;
    padding:0 18px;
    font-size:16px;
    outline:none;
    background:rgba(255,255,255,0.95);
    color:black;
    box-sizing:border-box;
}

.form-group textarea{
    padding-top:15px;
    resize:none;
    height:130px;
}

.dropdown-btn{
    height:50px;
    border:none;
    border-radius:9px;
    padding:0 18px;
    font-size:16px;
    text-align:left;
    background:rgba(255,255,255,0.95);
    color:#777;
    cursor:pointer;
    position:relative;
}

.dropdown-btn::after{
    content:"";
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    border-left:11px solid transparent;
    border-right:11px solid transparent;
    border-top:15px solid #aaa;
}

.checkbox-dropdown{
    display:none;
    position:absolute;
    top:84px;
    left:0;
    width:100%;
    padding:15px;
    border-radius:14px;
    background:rgba(255,255,255,0.96);
    color:black;
    box-sizing:border-box;
    z-index:50;
    box-shadow:0 15px 35px rgba(0,0,0,0.35);
}

.checkbox-dropdown.show{
    display:block;
}

.checkbox-dropdown label{
    display:flex;
    align-items:center;
    gap:10px;
    color:black;
    font-size:14px;
    margin:10px 0;
    cursor:pointer;
}

.checkbox-dropdown input{
    width:16px;
    height:16px;
}

.submit-btn{
    grid-column:1 / 3;
    height:48px;
    border-radius:9px;
    border:1px solid rgba(255,255,255,0.35);
    background:rgba(255,255,255,0.16);
    color:white;
    font-size:21px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s;
}

.submit-btn:hover{
    background:rgba(255,255,255,0.28);
    transform:translateY(-2px);
}

#backToTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.25);
}

.footer {
    padding: 60px 40px 20px;
    background: black;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-section {
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.footer-logo { width: 19%; }
.footer-location { width: 30%; }
.footer-contact { width: 20%; }
.footer-social { width: 17%; }

.footer-logo img {
    width: 200px;
    cursor: pointer;
}

.footer-location h3,
.footer-contact h3,
.footer-social h3 {
    margin-bottom: 8px;
    font-size: 15px;
}

.footer-location p {
    line-height: 1.3;
    font-size: 13px;
}

.map-links a {
    color: #ccc;
    text-decoration: none;
}

.map-links a:hover {
    color: red;
}

.footer-contact p {
    margin: 5px 0;
    font-size: 13px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.social-icons a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition:0.3s ease;
}

.social-icons img {
    width: 28px;
    filter: grayscale(100%);
    transition: 0.3s;
}

.social-icons a:hover img {
    filter: grayscale(0%);
}

.social-icons a:hover {
    color: #00ffcc;
}

.footer-location,
.footer-contact {
    position: relative;
}

.footer-location::after,
.footer-contact::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    width: 1px;
    height: 70%;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255,255,255,0.5),
        transparent
    );
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
}

.footer-bottom hr {
    border: 0;
    border-top: 1px solid #444;
    margin-bottom: 20px;
}

.footer-bottom p {
    font-size: 13px;
    color: #aaa;
}

@media (max-width:1024px){

    body{
        background-attachment:scroll;
    }

    .logo{
        top:22px;
        left:24px;
    }

    .logo img{
        width:68px;
    }

    .navbar{
        top:22px;
        left:110px;
        right:24px;

        overflow-x:auto;
        overflow-y:hidden;

        padding:8px 10px;

        scrollbar-width:none;
    }

    .navbar::-webkit-scrollbar{
        display:none;
    }

    .menu{
        flex-wrap:nowrap;
        white-space:nowrap;
    }

    .menu a{
        flex-shrink:0;
        font-size:13px;
        padding:9px 14px;
    }

    .menu .active{
        transform:scale(1.06);
    }

    .appointment-section{
        padding:130px 20px 90px;
    }

    .appointment-box{
        width:100%;
        max-width:760px;
        padding:34px 30px;
        border-radius:34px;
    }

    .appointment-box h1{
        font-size:30px;
        margin-bottom:35px;
    }

    .appointment-form{
        grid-template-columns:1fr;
        gap:24px;
    }

    .submit-btn{
        grid-column:1;
    }

    .checkbox-dropdown{
        max-height:260px;
        overflow-y:auto;
    }

    .footer{
        padding:60px 30px 20px;
    }

    .footer-container{
        flex-wrap:wrap;
        justify-content:center;
        gap:40px;
    }

    .footer-section{
        width:40% !important;
        padding:0;
    }

    .footer-location::after,
    .footer-contact::after{
        display:none;
    }

    .social-icons{
        align-items:center;
    }
}

@media (max-width:768px){

    body{
        background-attachment:scroll;
        background-position:center top;
        background-size:cover;
    }

    .logo{
        top:16px;
        left:16px;
    }

    .logo img{
        width:54px;
    }

    .navbar{
        top:14px;
        left:82px;
        right:12px;

        overflow-x:auto;
        overflow-y:hidden;

        padding:7px 9px;

        scrollbar-width:none;

        border-radius:28px;
    }

    .navbar::-webkit-scrollbar{
        display:none;
    }

    .menu{
        flex-wrap:nowrap;
        white-space:nowrap;
        gap:7px;
    }

    .menu a{
        flex-shrink:0;
        font-size:11px;
        padding:8px 12px;
    }

    .menu .active{
        transform:scale(1.03);
    }

    .appointment-section{
        min-height:auto;
        padding:105px 14px 70px;
    }

    .appointment-box{
        width:100%;
        max-width:100%;
        padding:24px 18px;
        border-radius:28px;
    }

    .appointment-box h1{
        font-size:24px;
        margin-bottom:28px;
        line-height:1.3;
    }

    .appointment-form{
        display:flex;
        flex-direction:column;
        gap:20px;
    }

    .form-group label{
        font-size:14px;
        margin-bottom:8px;
    }

    .form-group input,
    .form-group textarea{
        height:46px;
        padding:0 14px;
        font-size:14px;
        border-radius:10px;
    }

    .form-group textarea{
        height:120px;
        padding-top:14px;
    }

    .dropdown-btn{
        height:46px;
        padding:0 14px;
        font-size:14px;
        border-radius:10px;
    }

    .dropdown-btn::after{
        right:14px;
        border-left:8px solid transparent;
        border-right:8px solid transparent;
        border-top:11px solid #aaa;
    }

    .checkbox-dropdown{
        top:78px;
        padding:14px;
        border-radius:12px;

        max-height:240px;
        overflow-y:auto;
    }

    .checkbox-dropdown label{
        font-size:13px;
        gap:8px;
    }

    .checkbox-dropdown input{
        width:15px;
        height:15px;
    }

    .submit-btn{
        grid-column:1;
        height:46px;
        font-size:16px;
        border-radius:10px;
        margin-top:5px;
    }

    #backToTop{
        width:44px;
        height:44px;
        right:18px;
        bottom:20px;
        font-size:18px;
    }

    .footer{
        padding:50px 22px 20px;
    }

    .footer-container{
        flex-direction:column;
        align-items:center;
        gap:35px;
    }

    .footer-section{
        width:100% !important;
        padding:0;
    }

    .footer-logo img{
        width:140px;
    }

    .footer-location::after,
    .footer-contact::after{
        display:none;
    }

    .footer-location h3,
    .footer-contact h3,
    .footer-social h3{
        font-size:14px;
    }

    .footer-location p,
    .footer-contact p{
        font-size:12px;
        line-height:1.6;
    }

    .social-icons{
        align-items:center;
    }

    .social-icons a{
        font-size:13px;
    }

    .social-icons img{
        width:24px;
    }

    .footer-bottom{
        margin-top:30px;
    }

    .footer-bottom p{
        font-size:12px;
    }
}